import request from '@/router/axios';

//查询是否已经注册
export const isRegister = () => {
  return request({
    url: '/api/blade-system/register/isRegister',
    method: 'get'
  })
}
// 自动获取MAC地址以及获取主板序列号
export const getHardwareInfo = (params) => {
  return request({
    url: '/api/blade-system/register/getHardwareInfo',
    method: 'post',
    params: {
      ...params,
    }
  })
}

// 自动获取MAC地址以及获取主板序列号
export const softwareRegister = (row) => {
  return request({
    url: '/api/blade-system/register/softwareRegister',
    method: 'post',
    data: row
  })
}

